<gm:page title="My App" authenticate="false">
<table>
    <tr>
      <td style="padding-right:15px" valign="top">
        <gm:item data="${app}/foo" create="true" template="myItemTemplate" />
      </td>
      <td style="width:350px" valign="top">
        <gm:list data="${app}/foo" template="myListTemplate"/>
      </td>
    </tr>
   </table>
   <gm:template id="myItemTemplate">
     <table>
       <tr>
         <td>Search place:</td>
         <td><gm:text ref="atom:place"/></td>
       </tr>
       
       <tr>
         <td colspan="2" style="padding-top:10px">
           <gm:editButtons text="true"/>
         </td>
       </tr>
     </table>
   </gm:template>

  
    <gm:template id="myListTemplate">
     <gm:map id="myMap" style="border:solid black 1px" control="large"
            maptypes="true" geolocationref="atom:place"
            infotemplate="myMapDetailsTemplate">
          <gm:handleEvent event="select" src="myList"/>
        </gm:map>
           </gm:template>

</gm:page>